<%@ page language="java" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="c.tld" %>
<%@ taglib prefix="pager" uri="pager.tld" %>
<%@ taglib prefix="fn" uri="fn.tld" %>
<%@ taglib prefix="cmore" uri="cmore.tld" %>
<%@ taglib prefix="fmt" uri="fmt.tld" %>

<h4 class="header-title">收益记录</h4>
<table id="basic-datatable" class="table dt-responsive nowrap" width="100%">
    <thead>
    <tr>
        <th>ID</th>
        <th>时间</th>
        <th>收益</th>
    </tr>
    </thead>
    <c:if test="${fn:length(departments) > 0}">
        <tbody id="incomeList">
        <c:forEach var="item" items="${departments}">
            <tr>
                <td>${item.entityid}</td>
                <td><fmt:formatDate value="${item.datatime}" pattern="yyyy-MM-dd HH:mm:ss"></fmt:formatDate></td>
                <td>${ item.money}</td>
            </tr>
        </c:forEach>
        </tbody>
    </c:if>
</table>
<pager:pageHyperAjax ajaxFunction="getList()"/>


